<style>
#load{
    width:100%;
    height:100%;
    position:fixed;
    z-index:9999;
    background:url("images/loading_bar.gif") no-repeat center center #fff;
}
</style>
<script>
document.onreadystatechange = function () {
	var path = window.location.href;
    path = path.replace(/\/$/, "");
    path = decodeURIComponent(path);
	var pageUrl		=	path;
	sessionStorage.setItem( 'pageUrl', JSON.stringify(pageUrl) );
  
  var state = document.readyState
  if (state == 'interactive') {
       document.getElementById('contents').style.visibility="hidden";
  } else if (state == 'complete') {
      setTimeout(function(){
	   if(typeof sessionStorage["user_id"]!='undefined'){
			document.getElementById('interactive');
			document.getElementById('load').style.visibility="hidden";
			document.getElementById('contents').style.visibility="visible";
		 }else{
			window.location="index.html";
		 }
      },300);
  }
}
</script>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.pagination.js"></script> 
<script src="js/webserviceurl.js"></script>
<script src="js/alert.js"></script>
<script src="js/modal.js"></script>
<script src="js/validations.js"></script>
<script src="js/pagination.js"></script>
<script src="js/commonfunctions.js"></script>
<script src="js/text.js"></script>
<link rel="stylesheet" href="css/pagination.css" />
<link href="css/style.css" rel="stylesheet">
<link href="css/default.css" rel="stylesheet">
<link href="css/responsive.css" rel="stylesheet">

<script>
$(function() {
$('#sidemenu').load('side-menu.html');
$('#header').load('header.html');
$('#footer').load('footer.html');
var user_id = JSON.parse(sessionStorage["user_id"]);
paginationTable(webServiceUrl+'reviews/'+user_id,'Review');
});
</script>
<div id="load"></div>
<div id="contents">
  <div id="header"></div>
    <div class="container-fluid">
    <div class="row-fluid container_bg">
      <div id="sidemenu"></div>
        <div class="span9">
			<div class="container_title">
				<div class="pos_r"><h1>Review And Rating</h1><a href="user-reviews.html" style="position:absolute;top:5px;right:10px;">Post New Review</a> </div>
				<div class="margin_top">
					<div id="review_list">
					</div>
					<div id="Pagination" class="pagination">
					</div>
					<div id="errornodata_message">
					</div>
				</div>
			</div>
		</div>
    </div><!--/span-->
      </div><!--/row-->
    </div><!--/.fluid-container-->
<div id="footer"></div>
</div>

